package com.phiture.erp.produce.core.pojo.dto;

import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author YH
 * @date 2025-05-06-16:05
 */

@Getter
@Setter
public class MrpBomInfoDTO {
    private Long id;
    private Integer seq;
    private Long processId;
    private Long materialId;
    private String materialBarCode;
    private String materialName;
    private Long materialUnitId;
    private String materialUnitName;
    private String materialStandard;
    private Integer materialAttr;
    private String remark;
    private Long parentId;
    /**
     * 消耗定额
     */
    private BigDecimal consumeFixQty;
    /**
     * 生产周期
     */
    private Integer leadTime;
    /**
     * 生效日期
     */
    private LocalDateTime effectiveDate;
    /**
     * 失效日期
     */
    private LocalDateTime disableDate;
    /**
     * 领送料方式
     */
    private Integer issMode;
    /**
     * 领料仓库
     */
    private Long defaultWarehouseId;

    /**
     * 倒冲标识
     */
    private boolean backFlushFlag;

    /**
     * 数量
     */
    private BigDecimal qty;

    /**
     * 产品总开工时间
     */
    private LocalDate startDate;

    /**
     * 产品总完工时间
     */
    private LocalDate endDate;

    /**
     * 物料计划生产提前期
     */
    private Integer produceLeadTime;

    /**
     * 物料计划采购提前期
     */
    private Integer recevingLeadTime;
}
